package com.common.user.properties;

import java.io.Serializable;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "usaedu.weapp")
public class WePropertites implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String msgDataFormat;
	private String appid;
	private String secret;
	private String token;
	private String accessToken;
	private String aesKey;
	private long expiresTime;

	private String httpProxyHost;
	private int httpProxyPort;
	private String httpProxyUsername;
	
	public String getMsgDataFormat() {
		return msgDataFormat;
	}
	public void setMsgDataFormat(String msgDataFormat) {
		this.msgDataFormat = msgDataFormat;
	}
	public String getAppid() {
		return appid;
	}
	public void setAppid(String appid) {
		this.appid = appid;
	}
	public String getSecret() {
		return secret;
	}
	public void setSecret(String secret) {
		this.secret = secret;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public String getAccessToken() {
		return accessToken;
	}
	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}
	public String getAesKey() {
		return aesKey;
	}
	public void setAesKey(String aesKey) {
		this.aesKey = aesKey;
	}
	public long getExpiresTime() {
		return expiresTime;
	}
	public void setExpiresTime(long expiresTime) {
		this.expiresTime = expiresTime;
	}
	public String getHttpProxyHost() {
		return httpProxyHost;
	}
	public void setHttpProxyHost(String httpProxyHost) {
		this.httpProxyHost = httpProxyHost;
	}
	public int getHttpProxyPort() {
		return httpProxyPort;
	}
	public void setHttpProxyPort(int httpProxyPort) {
		this.httpProxyPort = httpProxyPort;
	}
	public String getHttpProxyUsername() {
		return httpProxyUsername;
	}
	public void setHttpProxyUsername(String httpProxyUsername) {
		this.httpProxyUsername = httpProxyUsername;
	}
	public String getHttpProxyPassword() {
		return httpProxyPassword;
	}
	public void setHttpProxyPassword(String httpProxyPassword) {
		this.httpProxyPassword = httpProxyPassword;
	}
	private String httpProxyPassword;
}
